public class finalMain {
    public final static void main(String[] args) {
        One();

        two();
    }
    public static void two(){
        class  B{public  int a;}
    ;
        class  A extends B{public  int b;}
    ;
        A a=new A();
        a.b=111;
        a.a=1212;
        B b=new B();
        b.a =12;
        B d=new A();
        d.a=12;
    }
    private static void One(){
        int i=1,b,c;
        int a[]=new int[3];
        b=a[i];
        c=b+i;
        System.out.println(c);
    }
}

